package m.member.store.action;

import m.html.element.other.DisplayItem;
import manage.action.ManageAction;

import java.util.ArrayList;
import java.util.List;

public abstract class CollectAction extends ManageAction {
    protected List<DisplayItem> getDayItem(){
        List<DisplayItem> ls=new ArrayList<>();
        for(int i=1;i<=31;i++){
            ls.add(DisplayItem.value(i>9?""+i:"0"+i,i+"日"));
        }
        return ls;
    }
    protected List<DisplayItem> getMonthItem(){
        List<DisplayItem> ls=new ArrayList<>();
        for(int i=1;i<=12;i++){
            ls.add(DisplayItem.value(i>9?""+i:"0"+i,i+"月"));
        }
        return ls;
    }
}
